import request from '@/utils/request'

// 查询屏蔽用户列表
export function listTechnicianShield(query) {
  return request({
    url: '/technicianShield/technicianShield/list',
    method: 'get',
    params: query
  })
}

// 查询屏蔽用户详细
export function getTechnicianShield(id) {
  return request({
    url: '/technicianShield/technicianShield/' + id,
    method: 'get'
  })
}

// 新增屏蔽用户
export function addTechnicianShield(data) {
  return request({
    url: '/technicianShield/technicianShield',
    method: 'post',
    data: data
  })
}

// 修改屏蔽用户
export function updateTechnicianShield(data) {
  return request({
    url: '/technicianShield/technicianShield',
    method: 'put',
    data: data
  })
}

// 删除屏蔽用户
export function delTechnicianShield(id) {
  return request({
    url: '/technicianShield/technicianShield/' + id,
    method: 'delete'
  })
}
